package com.lyr.thread1;

/**
 * 多线程：
 */
public class Test01 {
    public static void main(String[] args) {
        System.out.println("++++++程序开始");
        System.out.println(1);
        System.out.println(2);

        //MyThread1 m1=new MyThread1("黑龙");
        //MyThread1 m2=new MyThread1("白龙");
        //m1.start();
        //m2.start();

        MyThread2 m3=new MyThread2();
        m3.start();

        System.out.println(3);
        System.out.println(4);
        System.out.println(5);
        System.out.println("++++++程序结束");


    }
}
